<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <div>我是account列表</div>
    <form action="/api/loginOut" method="post">
        <button>退出登录</button>
    </form>
    <ul>
        <% account.forEach(item => { %>
        <li>用户：<%= item.username %></li>
        <li>简介：<%= item.dec %></li>
        <form action="/account/delete/<%= item.id %>" method="get">
            <button>删除</button>
        </form>
        <% }) %>
    </ul>
    <a href="/account/create">新增信息</a>
</body>
</html>